package org.jgs1904.apachepoidemo.big;

import java.math.BigDecimal;

/**
 * @author: 默苍璃
 * @date: 2024-01-26 14:57
 */
public class Big {
    public static void main(String[] args) {

        BigDecimal n = new BigDecimal("12.75");
        BigDecimal m = new BigDecimal("0.15");
        BigDecimal[] dr = n.divideAndRemainder(m);
        if (dr[1].signum() == 0) {
            // n是m的整数倍
        }

    }
}
